import { Component, ElementRef } from '@angular/core';
import { IonicPage, NavController } from 'ionic-angular';
import * as echarts from 'echarts';

@IonicPage({name: 'page-echarts'})
@Component({
  selector: 'page-total',
  templateUrl: 'total.html'
})
export class TotalPage {
  items : Object;

  constructor(private navCtrl: NavController, private element: ElementRef) {

  } 

  ionViewWillEnter() {
     this.items = [{
        icon: 'icon-receipt',
        title: '入库报表',
        desc:'出库统计',
        color:'#000' 
     },
     {
      icon: 'icon-salesinvoice',
      title: '出库报表',
      desc:'出库统计',
      color:'#000' 
    },
    {
        icon: 'icon-stockallocation',
        title: '调拨报表',
        desc:'出库统计',
        color:'#000' 
    },
    {
      icon: 'icon-PDA',
      title: '盘点报表',
      desc:'出库统计',
      color:'#000' 
    }]
  }

}
